package com.zbkj.common.model.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品信息表
 * </p>
 *
 * @author 
 * @since 2024-09-12
 */
@Getter
@Setter
@TableName("pe_product")
@ApiModel(value = "Product对象", description = "商品信息表")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品类型 1 订阅包 2 流量包 3 报告包")
    private Integer productType;

    @ApiModelProperty("商品单价")
    private BigDecimal productPrice;

    @ApiModelProperty("单价充值量")
    private Long productDataval;

    @ApiModelProperty("商品状态 0 上架 1下架")
    private Integer productStatus;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("0:正常 1:已删除")
    private Integer deleteFlag;

    @ApiModelProperty("试用天数")
    private Integer trialDays;

}
